package per.frank.demo.service.b.controller;

import com.alibaba.dubbo.config.annotation.Service;
import per.frank.demo.service.c.ServiceBApi;

@Service(interfaceClass = ServiceBApi.class)
public class ServerBimpl implements ServiceBApi {
    @Override
    public String sayHello(String a) {
        System.out.println("Thread : " + Thread.currentThread().getName()+ "    class:" + this);
        return "hello";
    }

    @Override
    public String sayHello(){
        System.out.println("AAAAAAAAAAA");
        return "hello2";
    }
}
